package cn.ucai.day09;
/*
 * 输入身份证号判断性别
 */
public class Testif {

	public static void main(String[] args) {
		String pid="350402199208028989";
		String str=pid.substring(16, 17);
		int ni=Integer.parseInt(str);
		if(ni%2==0){
			System.out.println("女");
		}else{
			{System.out.println("男");}
			}
	}
}
